package com.ycy.dubbo;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
//import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDubbo(scanBasePackages = "com.ycy.dubbo.impl")
//springboot 、dubbo 、nacos 集成，注意不是springcloud
public class ProviderSpringApplication {

  public static void main(String[] args) {
    SpringApplication.run(ProviderSpringApplication.class, args);
  }

}
